Skip to content

Itc basis updates#1395

Open
brtietz wants to merge 19 commits into
developfrom
itc_basis_updates
Open

Itc basis updates#1395
brtietz wants to merge 19 commits into
developfrom
itc_basis_updates

Conversation

@brtietz
Copy link
Copy Markdown
Collaborator

@brtietz brtietz commented May 6, 2026

Pull Request Template

Description

Add code to common financial to handle new ITC basis input options. A few variables that previously held bools now function as 0-1 fractions.

Corresponding branches and PRs:

SAM branch itc_basis_updates NatLabRockies/SAM#2187

develop for other branches

Unit Test Impact:

New tests written for common financial functions.

Existing tests using the old manual paradigm should remain unchanged.

Checklist

  • requires help revision and I added that label
  • adds, removes, modifies, or deletes variables in existing compute modules
  • adds a new compute module
  • changes defaults
  • I've tagged this PR to a milestone

@coveralls
Copy link
Copy Markdown

coveralls commented May 7, 2026

Coverage Report for CI Build 26111458724

Coverage increased (+0.06%) to 56.347%

Details

  • Coverage increased (+0.06%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • 1488 coverage regressions across 12 files.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

1488 previously-covered lines in 12 files lost coverage.

Top 10 Files by Coverage Loss Lines Losing Coverage Coverage
ssc/ssc/cmod_cashloan_heat.cpp 308 0.0%
ssc/ssc/cmod_singleowner_heat.cpp 274 77.05%
ssc/ssc/cmod_communitysolar.cpp 225 81.75%
ssc/ssc/common.cpp 176 76.07%
ssc/ssc/cmod_singleowner.cpp 98 92.0%
ssc/ssc/cmod_merchantplant.cpp 97 91.45%
ssc/ssc/cmod_host_developer.cpp 96 91.68%
ssc/ssc/cmod_levpartflip.cpp 76 93.64%
ssc/ssc/cmod_equpartflip.cpp 65 93.34%
ssc/ssc/common_financial.cpp 39 79.17%

Coverage Stats

Coverage Status
Relevant Lines: 121267
Covered Lines: 68330
Line Coverage: 56.35%
Coverage Strength: 3452949.14 hits per line

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants